%% Author: hzj
%% Created: 2010-10-13
%% Description: 装备打造相关数值
-module(data_equip).

%%
%% Include files
%%
-include("common.hrl").
-include("record.hrl").


%%
%% Exported Functions
%%
-compile(export_all).


%%
%% API Functions
%%
%% 
%% 当前等级升级所需灵力值 对应等级拥有的灵力应该为grade-1
get_spirit(Grade) ->
	case Grade of
		0 ->0;
		1 ->120;
		2 ->258;
		3 ->445;
		4 ->678;
		5 ->987;
		6 ->1267;
		7 ->1690;
		8 ->2006;
		9 ->2506;
		10	->3397;
		11	->4674;
		12	->6178;
		13	->7870;
		14	->8664;
		15	->10581;
		16	->12591;
		17	->14766;
		18	->17218;
		19	->17268;
		20	->32501;
		21	->49347;
		22	->67806;
		23	->87877;
		24	->109561;
		25	->166072;
		26	->197209;
		27	->197453;
		28	->228487;
		29	->260447;
		30	->425765;
		31	->604413;
		32	->795417;
		33	->995554;
		34	->1210706;
		35	->1438214;
		36	->1678076;
		37	->1930294;
		38	->2194868;
		39	->2471796;
		40	->2537132;
		41	->3038193;
		42	->3571748;
		43	->4121410;
		44	->4694831;
		45	->8493586;
		46	->9194808;
		47	->9941122;
		48	->10690944;
		49	->11488018;
		50	->34134573;
		51	->35690887;
		52	->37210749;
		53	->38834744;
		54	->40493298;
		55	->82506413;
		56	->85098087;
		57	->87724322;
		58	->90385116;
		59	->93233564;
		60	->106859926;
		61	->110908732;
		62	->114860984;
		63	->124133478;
		64	->128810993;
		65	->138727070;
		66	->143166041;
		67	->147883007;
		68	->152463099;
		69	->157326945;
		70	->162695367;
		71	->167932098;
		72	->173476776;
		73	->179111310;
		74	->184835700;
		75	->296632433;
		76	->304948560;
		77	->313377008;
		78	->321917775;
		79	->396685035;
		80	->407959524;
		81	->419391261;
		82	->430980246;
		83	->442726479;
		84	->455120391;
		85	->629791968;
		86	->644262393;
		87	->659571441;
		88	->674362410;
		89	->689310627;
		90	->825683072;
		91	->846623442;
		92	->868665184;
		93	->890989164;
		94	->912735934;
		95	->1260996714;
		96	->1288390934;
		97	->1314875305;
		98	->1342823927;
		99	->1371054787;
		_ -> 999999999999
	end.





